package com.itcpay.spring;

public class Dog {

	//javaBean IOC创建对象时需要无参构造方法
	public Dog(){
	}
	
	public Dog(String type) {
		super();
		this.type = type;
	}

	private String type;

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return "Dog [type=" + type + "]";
	}
	
}
